package org.zfes.snowier.zbss.xzy.biz.aftersale.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.core.data.SelectVo;
import org.zfes.snowier.zbss.xzy.biz.aftersale.model.AfterSale;
public interface IAfterSaleService{

	 Optional<AfterSale> loadAfterSaleById(Long id);
	
	 void createAfterSale(AfterSale afterSale);
	
	 void updateAfterSale(AfterSale afterSale);

	 void deleteAfterSale(Long id);
	
	 DataSet loadAfterSaleDataSet(Map<String, Object> params);
	 

 	void setAfterSaleStatus(Long id, Byte status);
 	
    List<SelectVo> loadAfterSaleSelectVo(String keywords);
    
}